import request from '@/utils/request'

//区县综合验收基本信息录入
export function saveBasicInfo(data) {
    return request({
      url: '/pc/project/completing_result/save_basic_info',
      method: 'POST',
      data
    })
}

//区县综合验收基本信息再次录入
export function saveAgainBasicInfo(data) {
    return request({
      url: '/pc/project/completing_result/save_again_basic_info',
      method: 'POST',
      formData: data
    })
}

//查询附件信息
export function queryEnclosureInfo(data) {
    return request({
      url: '/pc/project/completing_result/query_enclosure_info',
      method: 'POST',
      formData: data
    })
}

//查询竣工验收复垦点权利人信息
export function queryLandLaterMappingInfo(data) {
    return request({
      url: '/pc/land/land_completing_result/query_land_later_mapping_info',
      method: 'POST',
      data
    })
}

//查询入库备案复垦点权利人信息
export function queryLandStoringRecordInfo(data) {
    return request({
      url: '/pc/land/land_completing_result/query_land_storing_record_info',
      method: 'POST',
      data
    })
}
//修改竣工验收复垦点权利人信息
export function updateLandLaterMappingInfo(data) {
    return request({
      url: '/pc/land/land_completing_result/update_land_later_mapping_info',
      method: 'POST',
      data
    })
}

//查询片块区县综合验收信息
export function queryLandCompletingResult(data) {
    return request({
      url: '/pc/land/land_completing_result/query_land_completing_result',
      method: 'POST',
      data
    })
}

//保存区县整治机构意见
export function saveDistrictOpinion(data) {
    return request({
      url: '/pc/project/completing_result_first_audit_opinion/save_district_renovation_organization_opinion',
      method: 'POST',
      data
    })
}
//保存区县国土资源行政主管部门意见
export function saveDepartmentOpinion(data) {
    return request({
      url: '/pc/project/completing_result_first_audit_opinion/save_district_administrative_department_opinion',
      method: 'POST',
      data
    })
}

//查询区县综合验收基本信息
export function queryBasicInfo(data) {
    return request({
      url: '/pc/project/completing_result_first_audit_opinion/query_basic_info',
      method: 'POST',
      formData: data
    })
}



//综合监理信息
export function supervisingInfo(data) {
    return request({
      url: '/pc/land/land_completing_result/supervising_info',
      method: 'POST',
      data
    })
}
//综合监理信息详细
export function supervisingCheck(data) {
    return request({
      url: '/pc/land/land_completing_result/supervising_check',
      method: 'POST',
      data
    })
}

//查询归档资料(区县综合验收意见表)
export function queryFilingData(data) {
    return request({
      url: '/pc/project/completing_result_first_audit_opinion/query_filing_data',
      method: 'POST',
      formData: data
    })
}

//查询意见
export function queryOpinion(data) {
  return request({
    url: '/pc/project/completing_result_first_audit_opinion/query_opinion',
    method: 'POST',
    formData: data
  })
}

// //查询验收信息（查询开始结束时间）
// export function queryYanshouInfoTimes(data) {
//   return request({
//     url: '/pc/project/completing_result_first_audit_opinion/query_times',
//     method: 'POST',
//     formData: data
//   })
// }

//查询意见表
export function queryOpinitonTable(data) {
  return request({
    url: '/pc/project/completing_result_first_audit_opinion/queryOpinitonTable',
    method: 'POST',
    formData: data
  })
}
//区县综合验收基本信息回显
export function queryCompletingResult(data) {
  return request({
    url: '/pc/project/completing_result/query_completing_result',
    method: 'POST',
    formData: data
  })
}
//区县综合验收基本信息回显
export function queryCompletingResultFile(data) {
  return request({
    url: '/pc/project/completing_result/query_completing_result_file',
    method: 'POST',
    formData: data
  })
}
//入库与竣工复垦点权利人信息对比
export function laterMappingConstantStoringRecord(data) {
  return request({
    url: '/pc/land/land_completing_result/later_mapping_constant_storing_record',
    method: 'POST',
    data
  })
}

//提交区县综合验收录入
export function completingResultCommit(data) {
  return request({
    url: '/pc/project/completing_result/completing_result_commit',
    method: 'POST',
    data
  })
}